
<?php echo form_open('storemanager/create'); ?>

	<fieldset>
	        <legend>Album</legend>
	
	        <div class="editor-label">
	            <label>Genre</label>
	        </div>
	        <div class="editor-field">
	        	<?php echo form_dropdown('genre',$genre)?>
	        </div>
	        <div class="editor-label">
	            <label>Artist</label>
	        </div>
	        <div class="editor-field">
	        	<?php echo form_dropdown('artist',$artist)?>
	        </div>
	        <div class="editor-label">
	            <label>Title</label>
	        </div>
	        <div class="editor-field">
	            <?php echo form_input('title',set_value('title'));?>	            
	        	<?php echo form_error('title','<span class="field-validation-error">','</span>');?>
	        </div>
	        <div class="editor-label">
	            <label>Price</label>
	        </div>
	        <div class="editor-field">
	            <?php echo form_input('price',set_value('price'))?>
	            <span class='field-validation-error'><?php echo form_error('price')?></span>
	        </div>
	        <div class="editor-label">
	            <label>Album Art Url</label>
	        </div>
	        <div class="editor-field">
	            <?php echo form_input('albumArtUrl',set_value('albumArtUrl'))?>
	            <span class='field-validation-error'><?php echo form_error('albumArtUrl')?></span>
	        </div>
	        <p>
	            <input type="submit" value="Save" />
	        </p>
	</fieldset>
<?php echo form_close()?>